<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>函数-数组去重</title>
		<script>
			function deleRepeatArr(arr) {
							var myset = new Set(arr);
							arr = [];
							for (var i of myset) {
								arr.push(i);
							}
							return arr;
						}
						console.log( deleRepeatArr([1, 4, 3,4, 2, 5, 5]));
		</script>
	</head>
	<body>
	</body>
</html>
